<template>
	<div class="panel-item" @click="_click">
		<slot />
	</div>
</template>

<script>
export default {
	props: {
		bind: {
			type: Function
		}
	},
	methods: {
		_click(e) {
			this.bind && this.bind(e)
		}
	}
}
</script>

<style scoped lang="scss">
	@import './style'
</style>